package com.fenghuajueli.module_user.adapter;

import android.content.Context;

import com.fenghuajueli.libbasecoreui.adapter.CommonBaseAdapter;
import com.fenghuajueli.libbasecoreui.adapter.CommonBaseViewHolder;
import com.fenghuajueli.module_user.R;

import java.util.List;

/**
 * vip描述功能适配器
 */
public class VipDescAdapter extends CommonBaseAdapter<Integer> {


    public VipDescAdapter(Context context, List<Integer> data) {
        super(context, data);
    }

    @Override
    public int getLayoutId() {
        return R.layout.vip_desc_item_layou;
    }

    @Override
    protected void convert(CommonBaseViewHolder holder, Integer data, int position) {
        holder.setImageResource(R.id.ivImage, data);
    }
}
